# -*- coding: utf-8 -*-
"""
Created on Fri Apr 24 10:07:28 2015

@author: hc
"""



import socket

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

port = 8081
host = "localhost"
while True:
    msg = raw_input()
    s.sendto(msg, (host, port))





